//
//  MyAccountCell.m
//  FinancialProduct
//
//  Created by Stella on 2017/8/27.
//  Copyright © 2017年 maq. All rights reserved.
//
#import "UIImage+GIF.h"

#import "CKPuslichTool.h"
#import "MyAccountCell.h"

@implementation MyAccountCell

- (void)awakeFromNib {
    [super awakeFromNib];
    UIViewSetRadius(_tagNew, 5, 0, nil);
    UIViewSetRadius(_numLabel, 9, 0, nil);
     [self imageViewLocalGif];
}


// 3、SDWebImage加载本地GIF
- (void)imageViewLocalGif {
    NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"xin3" ofType:@"gif"];
    NSData *imageData = [NSData dataWithContentsOfFile:imagePath];
    UIImage *image = [UIImage sd_animatedGIFWithData:imageData];
  
    _tagNew.image = image;
    
}



- (void)layoutSubviews{
    [super layoutSubviews];
    
    [self imageViewLocalGif];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
